﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>无操作权限</title>
    <environment include="Development">
        <script src="~/js/jquery-1.10.2.min.js"></script>
    </environment>
    <environment exclude="Development">
        <script src="~/js/jquery-1.10.2.min.js"></script>
    </environment>
    <script type="text/javascript">
        jQuery.fn.center = function (d) {
            var a = this;
            if (!d) {
                a.css("margin-top", $(window).height() / 2 - this.height() / 2);
                a.css("margin-left", $(window).width() / 2 - this.width() / 2);
                $(window).resize(function () {
                    a.center(!d)
                })
            } else {
                var c = $(window).height() / 2 - this.height() / 2;
                var b = $(window).width() / 2 - this.width() / 2;
                c = (c < 0) ? 0 : c;
                b = (b < 0) ? 0 : b;
                a.stop();
                a.animate({
                    marginTop: c,
                    marginLeft: b
                }, 150, "linear")
            }
        };

        $(function () {
            $('.Permission').center();
            window.history.length = 0;
        });
    </script>
</head>
<body>
    <div class="Permission" style="text-align: center">
        <div>
            <p>系统异常，请稍后再试...</p>
            <a href="javascript:history.go(-1);" style="text-decoration: none; color: #ff6a00">>>返回<<</a> <a href="@Url.Action("Login", "Account")" style="text-decoration:none; color:#ff6a00">>>重新登录<<</a>
        </div>
    </div>
</body>
</html>
